export const commercial = [
  {
    name: 'Cluemanagement',
    path: '/Cluemanagement',
    component: resolve => require(['@/views/Commercial/Cluemanagement.vue'], resolve),
    meta: {title: '线索管理', activeMenu: 'Cluemanagement'}
  },
  {
    name: 'CluemanagementDetail',
    path: '/CluemanagementDetail',
    component: resolve => require(['@/views/Commercial/ClueDetail.vue'], resolve),
    meta: {title: '线索详情', activeMenu: 'Cluemanagement'}
  },
  {
    name: 'Opportunities',
    path: '/Opportunities',
    component: resolve => require(['@/views/Commercial/Opportunities.vue'], resolve),
    meta: {title: '商机管理', activeMenu: 'Opportunities'}
  },
  {
    name: 'OpportunitiesApproval',
    path: '/OpportunitiesApproval',
    component: resolve => require(['@/views/Commercial/OpportunitiesApproval.vue'], resolve),
    meta: {title: '商机审核', activeMenu: 'Opportunities'}
  },
  {
    name: 'OpportunitiesCc',
    path: '/OpportunitiesCc',
    component: resolve => require(['@/views/Commercial/OpportunitiesCc.vue'], resolve),
    meta: {title: '商机抄送', activeMenu: 'Opportunities'}
  },
  {
    name: 'Opportunitiesadd',
    path: '/Opportunitiesadd',
    component: resolve => require(['@/views/Commercial/Opportunitiesadd.vue'], resolve),
    meta: {title: '商机添加', activeMenu: 'Opportunities'}
  },
  {
    name: 'Opportunitiesitem',
    path: '/Opportunitiesitem',
    component: resolve => require(['@/views/Commercial/OpportunitiesItem.vue'], resolve),
    meta: {title: '商机立项', activeMenu: 'Opportunities'}
  },
  {
    name: 'OpportunitiesDetail',
    path: '/OpportunitiesDetail',
    component: resolve => require(['@/views/Commercial/OpportunitiesDetail.vue'], resolve),
    meta: {title: '商机详情', activeMenu: 'Opportunities'}
  },
  // {
  //   name: 'OpportunitiesExamine',
  //   path: '/OpportunitiesExamine',
  //   component: resolve => require(['@/views/Commercial/OpportunitiesExamine.vue'], resolve),
  //   meta: {title: '商机审核', activeMenu: 'Opportunities'}
  // },
  {
    name: 'Winasingle',
    path: '/Winasingle',
    component: resolve => require(['@/views/Commercial/Winasingle.vue'], resolve),
    meta: {title: '赢单', activeMenu: 'Opportunities'}
  },
  {
    name: 'CommercialTaskAdd',
    path: '/CommercialTaskAdd',
    component: resolve => require(['@/views/Commercial/CommercialTaskAdd.vue'], resolve),
    meta: {title: '创建商机任务', activeMenu: 'Opportunities'}
  },
  {
    name: 'CommercialTaskDetail',
    path: '/CommercialTaskDetail',
    component: resolve => require(['@/views/Commercial/CommercialTaskDetail.vue'], resolve),
    meta: {title: '商机任务详情', activeMenu: 'Opportunities'}
  },
  {
    name: 'CommercialExamine',
    path: '/CommercialExamine',
    component: resolve => require(['@/views/Commercial/CommercialExamine.vue'], resolve),
    meta: {title: '商机任务审核', activeMenu: 'Opportunities'}
  },
  {
    name: 'Customermanagement',
    path: '/Customermanagement',
    component: resolve => require(['@/views/Commercial/Customermanagement.vue'], resolve),
    meta: {title: '客户管理', activeMenu: 'Customermanagement'}
  }
]
